<include file="Public:header" />

<div id="page-body">
    <div id="qan-breadcrumbs"><span><a href="{$_global.site_url}">{$Think.lang.home}</a></span>&gt;&nbsp;<span>{$Think.lang.medals}</span></div>
    <div id="medal-container" class="container">
        <table class="tb" width="100%">
            <tr>
                <th></th>
                <th></th>
                <th></th>
                <th></th>
                <th width="10%"></th>
            </tr>
            <volist name="medals" id="vo">
            <tr>
                <td><strong>{$key+1}</strong></td>
                <td><img src="__PUBLIC__/Images/Medals/{$vo.image}"></td>
                <td>{$vo.name}</td>
                <td>{$vo.description}<br/><notempty name="vo.permission">{$Think.lang.medal_requirements}: <span class="requirements">{$vo.permission|get_medal_permission}</span></notempty></td>
                <td><if condition="$vo['permission'] AND $vo['award_type'] eq 2"><a href="{:U('Medal/apply',array('mid'=>$vo['medal_id']))}" title="{$Think.lang.medal_apply_explain}">{$Think.lang.medal_apply}</a></if></td>
            </tr>
            </volist>
        </table>
    </div>
</div>

<include file="Public:footer" />